package net.xxcxcxcx.xc_enhancedmob.config.render;

import com.google.gson.annotations.Expose;
import net.minecraft.util.Formatting;

public class DamageNumConfig {
    @Expose
    private String Key = "Base";
    @Expose
    private String Name = "Base";
    @Expose
    private Formatting Color = Formatting.RED;
    @Expose
    private int IconCordX = 0;
    @Expose
    private int IconCordY = 0;

    public DamageNumConfig(String key, String name) {
        setKey(key);
        setName(name);
    }

    public DamageNumConfig(String key, String name, Formatting color) {
        setKey(key);
        setName(name);
        setColor(color);
    }

    public DamageNumConfig(String key, String name, Formatting color, int cordX, int cordY) {
        setKey(key);
        setName(name);
        setColor(color);
        IconCordX = cordX;
        IconCordY = cordY;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public Formatting getColor() {
        return Color;
    }

    public void setColor(Formatting color) {
        Color = color;
    }

    public String getKey() {
        return Key;
    }

    public void setKey(String key) {
        Key = key;
    }

    public int getIconCordX() {
        return IconCordX;
    }

    public void setIconCordX(int cordX) {
        IconCordX = cordX;
    }

    public int getIconCordY() {
        return IconCordY;
    }

    public void setIconCordY(int cordY) {
        IconCordY = cordY;
    }
}
